﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AdvReceiptDataSrc" targetNamespace="http://tempuri.org/AdvReceiptDataSrc.xsd" xmlns:mstns="http://tempuri.org/AdvReceiptDataSrc.xsd" xmlns="http://tempuri.org/AdvReceiptDataSrc.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="HMSIndiaConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="HMSIndiaConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Horizon.HMS.MySettings.GlobalReference.Default.HMSIndiaConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BillPayDetailsTableAdapter" GeneratorDataComponentClassName="BillPayDetailsTableAdapter" Name="BillPayDetails" UserDataComponentName="BillPayDetailsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HMSIndiaConnectionString (MySettings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        BillPayDetails.BillPayID, BillPayDetails.BillID, BillPayDetails.Cheque_CC_No, BillPayDetails.ChequeDate, BillPayDetails.BankID, BillPayDetails.Amount, 
                         LookupsMaster.Name AS PayMode, BankMaster.BankName
FROM            BillPayDetails INNER JOIN
                         LookupsMaster ON BillPayDetails.PayMode = LookupsMaster.ID LEFT OUTER JOIN
                         BankMaster ON BillPayDetails.BankID = BankMaster.BankID
WHERE        (BillPayDetails.BillPayID = @BillPayID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="BillPayID" ColumnName="BillPayID" DataSourceName="HMSIndia.dbo.BillPayDetails" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@BillPayID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="BillPayID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BillPayID" DataSetColumn="BillPayID" />
              <Mapping SourceColumn="BillID" DataSetColumn="BillID" />
              <Mapping SourceColumn="Cheque_CC_No" DataSetColumn="Cheque_CC_No" />
              <Mapping SourceColumn="ChequeDate" DataSetColumn="ChequeDate" />
              <Mapping SourceColumn="BankID" DataSetColumn="BankID" />
              <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
              <Mapping SourceColumn="PayMode" DataSetColumn="PayMode" />
              <Mapping SourceColumn="BankName" DataSetColumn="BankName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CompanyMasterTableAdapter" GeneratorDataComponentClassName="CompanyMasterTableAdapter" Name="CompanyMaster" UserDataComponentName="CompanyMasterTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HMSIndiaConnectionString (MySettings)" DbObjectName="HMSIndia.dbo.CompanyMaster" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [CompanyMaster] ([Company Name], [Address_Office], [Telephone No]) VALUES (@CompanyName, @Address_Office, @TelNo)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CompanyName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Address_Office" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address_Office" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TelNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TelNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        [Company Name] AS CompanyName, Address_Office, [Telephone No] AS TelNo
FROM            CompanyMaster</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Address_Office" DataSetColumn="Address_Office" />
              <Mapping SourceColumn="CompanyName" DataSetColumn="CompanyName" />
              <Mapping SourceColumn="TelNo" DataSetColumn="TelNo" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PatientRegistrationTableAdapter" GeneratorDataComponentClassName="PatientRegistrationTableAdapter" Name="PatientRegistration" UserDataComponentName="PatientRegistrationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HMSIndiaConnectionString (MySettings)" DbObjectName="HMSIndia.dbo.PatientRegistration" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [PatientRegistration] WHERE (([PatientId] = @Original_PatientId) AND ([FirstName] = @Original_FirstName) AND ([LastName] = @Original_LastName) AND ((@IsNull_SurName = 1 AND [SurName] IS NULL) OR ([SurName] = @Original_SurName)) AND ([Gender] = @Original_Gender) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ([Age] = @Original_Age))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PatientId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PatientId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SurName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SurName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SurName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Age" Precision="5" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        PatientId, FirstName, LastName, SurName, Gender, Address, Age
FROM            PatientRegistration
WHERE        (PatientId = @PatientId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="PatientId" ColumnName="PatientId" DataSourceName="HMSIndia.dbo.PatientRegistration" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PatientId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PatientId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [PatientRegistration] SET [FirstName] = @FirstName, [LastName] = @LastName, [SurName] = @SurName, [Gender] = @Gender, [Address] = @Address, [Age] = @Age WHERE (([PatientId] = @Original_PatientId) AND ([FirstName] = @Original_FirstName) AND ([LastName] = @Original_LastName) AND ((@IsNull_SurName = 1 AND [SurName] IS NULL) OR ([SurName] = @Original_SurName)) AND ([Gender] = @Original_Gender) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ([Age] = @Original_Age));
SELECT PatientId, FirstName, LastName, SurName, Gender, Address, Age FROM PatientRegistration WHERE (PatientId = @PatientId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SurName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SurName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Age" Precision="5" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PatientId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PatientId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SurName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SurName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SurName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SurName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Age" Precision="5" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PatientId" ColumnName="PatientId" DataSourceName="HMSIndia.dbo.PatientRegistration" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PatientId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PatientId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PatientId" DataSetColumn="PatientId" />
              <Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
              <Mapping SourceColumn="LastName" DataSetColumn="LastName" />
              <Mapping SourceColumn="SurName" DataSetColumn="SurName" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="Address" DataSetColumn="Address" />
              <Mapping SourceColumn="Age" DataSetColumn="Age" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PatientPayDetailsTableAdapter" GeneratorDataComponentClassName="PatientPayDetailsTableAdapter" Name="PatientPayDetails" UserDataComponentName="PatientPayDetailsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HMSIndiaConnectionString (MySettings)" DbObjectName="HMSIndia.dbo.PatientPayDetails" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ReceivedDataTime
FROM            PatientPayDetails
WHERE        (PayID = @PayID) AND (PatientID = @PatientID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="PayID" ColumnName="PayID" DataSourceName="HMSIndia.dbo.PatientPayDetails" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PayID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PayID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PatientID" ColumnName="PatientID" DataSourceName="HMSIndia.dbo.PatientPayDetails" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PatientID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PatientID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ReceivedDataTime" DataSetColumn="ReceivedDataTime" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AdvReceiptDataSrc" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="AdvReceiptDataSrc" msprop:Generator_UserDSName="AdvReceiptDataSrc">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="BillPayDetails" msprop:Generator_TableClassName="BillPayDetailsDataTable" msprop:Generator_TableVarName="tableBillPayDetails" msprop:Generator_RowChangedName="BillPayDetailsRowChanged" msprop:Generator_TablePropName="BillPayDetails" msprop:Generator_RowDeletingName="BillPayDetailsRowDeleting" msprop:Generator_RowChangingName="BillPayDetailsRowChanging" msprop:Generator_RowEvHandlerName="BillPayDetailsRowChangeEventHandler" msprop:Generator_RowDeletedName="BillPayDetailsRowDeleted" msprop:Generator_RowClassName="BillPayDetailsRow" msprop:Generator_UserTableName="BillPayDetails" msprop:Generator_RowEvArgName="BillPayDetailsRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BillPayID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnBillPayID" msprop:Generator_ColumnPropNameInRow="BillPayID" msprop:Generator_ColumnPropNameInTable="BillPayIDColumn" msprop:Generator_UserColumnName="BillPayID" type="xs:long" />
              <xs:element name="BillID" msprop:Generator_ColumnVarNameInTable="columnBillID" msprop:Generator_ColumnPropNameInRow="BillID" msprop:Generator_ColumnPropNameInTable="BillIDColumn" msprop:Generator_UserColumnName="BillID" type="xs:long" minOccurs="0" />
              <xs:element name="Cheque_CC_No" msprop:Generator_ColumnVarNameInTable="columnCheque_CC_No" msprop:Generator_ColumnPropNameInRow="Cheque_CC_No" msprop:Generator_ColumnPropNameInTable="Cheque_CC_NoColumn" msprop:Generator_UserColumnName="Cheque_CC_No" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ChequeDate" msprop:Generator_ColumnVarNameInTable="columnChequeDate" msprop:Generator_ColumnPropNameInRow="ChequeDate" msprop:Generator_ColumnPropNameInTable="ChequeDateColumn" msprop:Generator_UserColumnName="ChequeDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="BankID" msprop:Generator_ColumnVarNameInTable="columnBankID" msprop:Generator_ColumnPropNameInRow="BankID" msprop:Generator_ColumnPropNameInTable="BankIDColumn" msprop:Generator_UserColumnName="BankID" type="xs:int" minOccurs="0" />
              <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
              <xs:element name="PayMode" msprop:Generator_ColumnVarNameInTable="columnPayMode" msprop:Generator_ColumnPropNameInRow="PayMode" msprop:Generator_ColumnPropNameInTable="PayModeColumn" msprop:Generator_UserColumnName="PayMode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BankName" msprop:Generator_ColumnVarNameInTable="columnBankName" msprop:Generator_ColumnPropNameInRow="BankName" msprop:Generator_ColumnPropNameInTable="BankNameColumn" msprop:Generator_UserColumnName="BankName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CompanyMaster" msprop:Generator_TableClassName="CompanyMasterDataTable" msprop:Generator_TableVarName="tableCompanyMaster" msprop:Generator_RowChangedName="CompanyMasterRowChanged" msprop:Generator_TablePropName="CompanyMaster" msprop:Generator_RowDeletingName="CompanyMasterRowDeleting" msprop:Generator_RowChangingName="CompanyMasterRowChanging" msprop:Generator_RowEvHandlerName="CompanyMasterRowChangeEventHandler" msprop:Generator_RowDeletedName="CompanyMasterRowDeleted" msprop:Generator_RowClassName="CompanyMasterRow" msprop:Generator_UserTableName="CompanyMaster" msprop:Generator_RowEvArgName="CompanyMasterRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Address_Office" msprop:Generator_ColumnVarNameInTable="columnAddress_Office" msprop:Generator_ColumnPropNameInRow="Address_Office" msprop:Generator_ColumnPropNameInTable="Address_OfficeColumn" msprop:Generator_UserColumnName="Address_Office" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CompanyName" msprop:Generator_ColumnVarNameInTable="columnCompanyName" msprop:Generator_ColumnPropNameInRow="CompanyName" msprop:Generator_ColumnPropNameInTable="CompanyNameColumn" msprop:Generator_UserColumnName="CompanyName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TelNo" msprop:Generator_ColumnVarNameInTable="columnTelNo" msprop:Generator_ColumnPropNameInRow="TelNo" msprop:Generator_ColumnPropNameInTable="TelNoColumn" msprop:Generator_UserColumnName="TelNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PatientRegistration" msprop:Generator_TableClassName="PatientRegistrationDataTable" msprop:Generator_TableVarName="tablePatientRegistration" msprop:Generator_RowChangedName="PatientRegistrationRowChanged" msprop:Generator_TablePropName="PatientRegistration" msprop:Generator_RowDeletingName="PatientRegistrationRowDeleting" msprop:Generator_RowChangingName="PatientRegistrationRowChanging" msprop:Generator_RowEvHandlerName="PatientRegistrationRowChangeEventHandler" msprop:Generator_RowDeletedName="PatientRegistrationRowDeleted" msprop:Generator_RowClassName="PatientRegistrationRow" msprop:Generator_UserTableName="PatientRegistration" msprop:Generator_RowEvArgName="PatientRegistrationRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PatientId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnPatientId" msprop:Generator_ColumnPropNameInRow="PatientId" msprop:Generator_ColumnPropNameInTable="PatientIdColumn" msprop:Generator_UserColumnName="PatientId" type="xs:long" />
              <xs:element name="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_UserColumnName="FirstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_UserColumnName="LastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SurName" msprop:Generator_ColumnVarNameInTable="columnSurName" msprop:Generator_ColumnPropNameInRow="SurName" msprop:Generator_ColumnPropNameInTable="SurNameColumn" msprop:Generator_UserColumnName="SurName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_UserColumnName="Gender" type="xs:boolean" />
              <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Age" msprop:Generator_ColumnVarNameInTable="columnAge" msprop:Generator_ColumnPropNameInRow="Age" msprop:Generator_ColumnPropNameInTable="AgeColumn" msprop:Generator_UserColumnName="Age" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PatientPayDetails" msprop:Generator_TableClassName="PatientPayDetailsDataTable" msprop:Generator_TableVarName="tablePatientPayDetails" msprop:Generator_TablePropName="PatientPayDetails" msprop:Generator_RowDeletingName="PatientPayDetailsRowDeleting" msprop:Generator_RowChangingName="PatientPayDetailsRowChanging" msprop:Generator_RowEvHandlerName="PatientPayDetailsRowChangeEventHandler" msprop:Generator_RowDeletedName="PatientPayDetailsRowDeleted" msprop:Generator_UserTableName="PatientPayDetails" msprop:Generator_RowChangedName="PatientPayDetailsRowChanged" msprop:Generator_RowEvArgName="PatientPayDetailsRowChangeEvent" msprop:Generator_RowClassName="PatientPayDetailsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReceivedDataTime" msprop:Generator_ColumnVarNameInTable="columnReceivedDataTime" msprop:Generator_ColumnPropNameInRow="ReceivedDataTime" msprop:Generator_ColumnPropNameInTable="ReceivedDataTimeColumn" msprop:Generator_UserColumnName="ReceivedDataTime" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>